﻿using System.Collections;

namespace ControlLibrary.StyledTextBox
{
    public class RichTextInformationCollection : CollectionBase
    {
        public int Count
        {
            get { return base.InnerList.Count; }
        }

        public RichTextInformation this[int index]
        {
            get { return (RichTextInformation) base.InnerList[index]; }
            set { base.InnerList[index] = value; }
        }

        public void Add(RichTextInformation value)
        {
            base.InnerList.Add(value);
        }

        public void Clear()
        {
            base.InnerList.Clear();
        }
    }
}